package com.vlong.town.entity.userOrgRef;

import java.io.Serializable;

/**
 * 用户-机构-关联实体类
 * @author Assassin
 */

public class UserOrgRef implements Serializable {

   /**
	* default SerialVersionUID
	*/
	private static final long serialVersionUID = 1L;

	// Fields

	private Long refId;// 标识信息-关联Id[主键值]
	private Long userId;// 关联信息-用户Id
	private Long orgId;// 关联信息-机构Id
	
	// Empty Constructor
	public UserOrgRef() {
		super();
	}
	
	// Full Constructor
	public UserOrgRef(Long refId, Long userId, Long orgId) {
		this.refId =  refId;
		this.userId =  userId;
		this.orgId =  orgId;
	}

	// Property accessors

	public Long getRefId () {
		return this.refId;
	}
	
	public void setRefId (Long refId) {
		this.refId =  refId;
	}
	
	public Long getUserId () {
		return this.userId;
	}
	
	public void setUserId (Long userId) {
		this.userId =  userId;
	}
	
	public Long getOrgId () {
		return this.orgId;
	}
	
	public void setOrgId (Long orgId) {
		this.orgId =  orgId;
	}
	
	@Override
	public String toString () {
		StringBuffer entityStirngBuffer = new StringBuffer();
		entityStirngBuffer.append("refId = " +  this.getRefId() + ",");
		entityStirngBuffer.append("userId = " +  this.getUserId() + ",");
		entityStirngBuffer.append("orgId = " +  this.getOrgId() + ",");
		return entityStirngBuffer.toString();
	}
	
}